import { pb } from 'src/pb';

export const LANGUAGES: pb.ILanguage[] = [
  { code: 'text/plain', label: '纯文本', ext: ['txt', 'log'] },
  { code: 'cpp', label: 'C++', ext: ['cc', 'hpp'] },
  { code: 'css', label: 'CSS' },
  { code: 'go', label: 'Golang' },
  { code: 'html', label: 'HTML', ext: ['htm', 'htma', 'xhtml', 'jsp'] },
  { code: 'ini', label: '配置文件', ext: ['toml', 'url'] },
  { code: 'java' },
  { code: 'javascript', ext: ['js'] },
  { code: 'json' },
  { code: 'markdown', ext: ['md'] },
  { code: 'mysql' },
  { code: 'objective-c', label: 'C语言', ext: ['c', 'h'] },
  { code: 'perl' },
  { code: 'pgsql' },
  { code: 'php', label: 'PHP' },
  { code: 'python', ext: ['py'] },
  { code: 'shell', ext: ['sh'] },
  { code: 'sql' },
  { code: 'typescript', ext: ['ts'] },
  { code: 'xml', label: 'XML', ext: ['svg'] },
  { code: 'yaml' },

  { code: 'abap' },
  { code: 'apex' },
  { code: 'azcli' },
  { code: 'bat' },
  { code: 'bicep' },
  { code: 'cameligo' },
  { code: 'clojure' },
  { code: 'coffee' },
  { code: 'csharp' },
  { code: 'csp' },
  { code: 'dart' },
  { code: 'dockerfile' },
  { code: 'ecl' },
  { code: 'elixir' },
  { code: 'fsharp' },
  { code: 'graphql' },
  { code: 'handlebars' },
  { code: 'hcl' },
  { code: 'julia' },
  { code: 'kotlin' },
  { code: 'less' },
  { code: 'lexon' },
  { code: 'liquid' },
  { code: 'lua' },
  { code: 'm3' },
  { code: 'mips' },
  { code: 'msdax' },
  { code: 'pascal' },
  { code: 'pascaligo' },
  { code: 'postiats' },
  { code: 'powerquery' },
  { code: 'powershell', ext: ['ps'] },
  { code: 'pug' },
  { code: 'r' },
  { code: 'razor' },
  { code: 'redis' },
  { code: 'redshift' },
  { code: 'restructuredtext' },
  { code: 'ruby' },
  { code: 'rust' },
  { code: 'sb' },
  { code: 'scala' },
  { code: 'scheme' },
  { code: 'scss' },
  { code: 'solidity' },
  { code: 'sophia' },
  { code: 'st' },
  { code: 'swift' },
  { code: 'systemverilog' },
  { code: 'tcl' },
  { code: 'twig' },
  { code: 'vb' },
];
